package com.qianniu.napi.admin.service;

import com.baomidou.mybatisplus.service.IService;
import com.qianniu.napi.admin.entity.Reserve;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenxuebin
 * @since 2017-08-09
 */
public interface IReserveService extends IService<Reserve> {


    void saveReserve(Reserve reserve);

    List<Reserve> getReserveList(String date, String roomNo);

    List<Reserve> getMyReserveList(String date, String uid);

    Reserve findReserveById(String id);

    void cancelReserve(String id);

    void modifyReserve(Map map);

}
